package com.dq.demos.web.pojo;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author wy
 *
 */
@Component
//@Data
//@AllArgsConstructor
//@NoArgsConstructor
public class ThirdUserBo {
    @Value("${yfk.open-api.tenantId}")
    private String tenantId;   //要登录的租户id
    @Value("${yfk.open-api.app-key}")
    private String appKey;
    @Value("${yfk.open-api.app-Secret}")
    private String appSecret;
    @Value("${yfk.open-api.baseURL}")
    private String baseURL;
    @Value("${yfk.open-api.gatewayURL}")
    private String gatewayURL;
    @Value("${yfk.open-api.suffixTokenURL}")
    private String suffixTokenURL;
    @Value("${yfk.open-api.suffixJXPKURL}")
    private String suffixJXPKURL;

    @Value("${yfk.open-api.suffixOFDURL}")
    private String suffixOFDURL;
    @Value("/iuap-api-gateway/yonbip/znbz/rbsm/api/bill/expensebill/save")
    private String suffixBXDSaveURL;
    @Value("/iuap-api-gateway/yonbip/uspace/users/search_page_list")
    private String suffixSearchURL;
    @Value("/iuap-api-gateway/yonbip/znbz/rbsm/api/attach/upload")
    private String suffixUploadURL;
    @Value("/iuap-api-gateway/yonbip/znbz/rbsm/api/billcommon/queryInvoices")
    private String suffixZDCXURL;


    public String getSuffixBXDSaveURL() {
        return suffixBXDSaveURL;
    }

    public void setSuffixBXDSaveURL(String suffixBXDSaveURL) {
        this.suffixBXDSaveURL = suffixBXDSaveURL;
    }

    public String getSuffixSearchURL() {
        return suffixSearchURL;
    }

    public void setSuffixSearchURL(String suffixSearchURL) {
        this.suffixSearchURL = suffixSearchURL;
    }

    public String getSuffixUploadURL() {
        return suffixUploadURL;
    }

    public void setSuffixUploadURL(String suffixUploadURL) {
        this.suffixUploadURL = suffixUploadURL;
    }

    public String getSuffixZDCXURL() {
        return suffixZDCXURL;
    }

    public void setSuffixZDCXURL(String suffixZDCXURL) {
        this.suffixZDCXURL = suffixZDCXURL;
    }

    public ThirdUserBo() {
    }

    public ThirdUserBo(String tenantId, String appKey, String appSecret, String baseURL, String gatewayURL, String suffixTokenURL, String suffixJXPKURL, String suffixOFDURL) {
        this.tenantId = tenantId;
        this.appKey = appKey;
        this.appSecret = appSecret;
        this.baseURL = baseURL;
        this.gatewayURL = gatewayURL;
        this.suffixTokenURL = suffixTokenURL;
        this.suffixJXPKURL = suffixJXPKURL;
        this.suffixOFDURL = suffixOFDURL;
    }

    public String getSuffixOFDURL() {
        return suffixOFDURL;
    }

    public void setSuffixOFDURL(String suffixOFDURL) {
        this.suffixOFDURL = suffixOFDURL;
    }

    public ThirdUserBo(String tenantId, String appKey, String appSecret, String baseURL, String gatewayURL, String suffixTokenURL, String suffixJXPKURL) {
        this.tenantId = tenantId;
        this.appKey = appKey;
        this.appSecret = appSecret;
        this.baseURL = baseURL;
        this.gatewayURL = gatewayURL;
        this.suffixTokenURL = suffixTokenURL;
        this.suffixJXPKURL = suffixJXPKURL;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getBaseURL() {
        return baseURL;
    }

    public void setBaseURL(String baseURL) {
        this.baseURL = baseURL;
    }

    public String getGatewayURL() {
        return gatewayURL;
    }

    public void setGatewayURL(String gatewayURL) {
        this.gatewayURL = gatewayURL;
    }

    public String getSuffixTokenURL() {
        return suffixTokenURL;
    }

    public void setSuffixTokenURL(String suffixTokenURL) {
        this.suffixTokenURL = suffixTokenURL;
    }

    public String getSuffixJXPKURL() {
        return suffixJXPKURL;
    }

    public void setSuffixJXPKURL(String suffixJXPKURL) {
        this.suffixJXPKURL = suffixJXPKURL;
    }
}
